package io.renren.modules.gengyun.feign;


import io.renren.common.Result;
import org.quartz.JobKey;
import org.quartz.SchedulerException;
import org.quartz.TriggerKey;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gengyun-acqisition")
public interface ScheduledFeignService {

    @RequestMapping("/acquisition/start")
    public Result startSchedule();

    @RequestMapping("/acquisition/pause")
    public Result pauseSchedule();

    @RequestMapping("/acquisition/resume")
    public Result resumeSchedule();

    @RequestMapping("/acquisition/stop")
    public Result stopSchedule();
}
